package lab02.test06;

/**
 * Created by asus on 2017/10/15.
 */
public class Circle {double radius;//圆的半径
    double area;
    double perimeter;
    final double P=3.1415926;

    public void setRadius(double radius) {
        this.radius = radius;
    }
    public double getRadius(){
        return radius;
    }
    public double getArea(){
        return (2*P*radius);
    }
}
